package com.junmeng.libfloating.tab

import android.view.View

/**
 * 模拟产生奔溃
 */
class MenuMainThreadCrash : TabMenu.Item() {
    private var clickListener = View.OnClickListener {
        var d = 1
        d = 1 / 0
    }

    override fun getClickListener(): View.OnClickListener? {
        return clickListener
    }

    override fun getLabel(): String {
        return "主线程奔溃"
    }
}